<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GMimeParamList: GMime 3.0 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GMime 3.0 Reference Manual">
<link rel="up" href="Headers.html" title="Message and MIME Headers">
<link rel="prev" href="GMimeContentDisposition.html" title="GMimeContentDisposition">
<link rel="next" href="InternetAddresses.html" title="Internet Addresses">
<meta name="generator" content="GTK-Doc V1.32 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GMimeParamList.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GMimeParamList.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="Headers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GMimeContentDisposition.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="InternetAddresses.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GMimeParamList"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GMimeParamList.top_of_page"></a>GMimeParamList</span></h2>
<p>GMimeParamList — Content-Type and Content-Disposition parameters</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GMimeParamList.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-get-name" title="g_mime_param_get_name ()">g_mime_param_get_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-get-value" title="g_mime_param_get_value ()">g_mime_param_get_value</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-set-value" title="g_mime_param_set_value ()">g_mime_param_set_value</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-get-charset" title="g_mime_param_get_charset ()">g_mime_param_get_charset</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-set-charset" title="g_mime_param_set_charset ()">g_mime_param_set_charset</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-get-lang" title="g_mime_param_get_lang ()">g_mime_param_get_lang</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-set-lang" title="g_mime_param_set_lang ()">g_mime_param_set_lang</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gmime-GMimeFormatOptions.html#GMimeParamEncodingMethod" title="enum GMimeParamEncodingMethod"><span class="returnvalue">GMimeParamEncodingMethod</span></a>
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-get-encoding-method" title="g_mime_param_get_encoding_method ()">g_mime_param_get_encoding_method</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-set-encoding-method" title="g_mime_param_set_encoding_method ()">g_mime_param_set_encoding_method</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="returnvalue">GMimeParamList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-list-new" title="g_mime_param_list_new ()">g_mime_param_list_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="returnvalue">GMimeParamList</span></a> *
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-list-parse" title="g_mime_param_list_parse ()">g_mime_param_list_parse</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-list-clear" title="g_mime_param_list_clear ()">g_mime_param_list_clear</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">int</span>
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-list-length" title="g_mime_param_list_length ()">g_mime_param_list_length</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-list-set-parameter" title="g_mime_param_list_set_parameter ()">g_mime_param_list_set_parameter</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GMimeParamList.html#GMimeParam"><span class="returnvalue">GMimeParam</span></a> *
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-list-get-parameter" title="g_mime_param_list_get_parameter ()">g_mime_param_list_get_parameter</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GMimeParamList.html#GMimeParam"><span class="returnvalue">GMimeParam</span></a> *
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-list-get-parameter-at" title="g_mime_param_list_get_parameter_at ()">g_mime_param_list_get_parameter_at</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-list-remove" title="g_mime_param_list_remove ()">g_mime_param_list_remove</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-list-remove-at" title="g_mime_param_list_remove_at ()">g_mime_param_list_remove_at</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GMimeParamList.html#g-mime-param-list-encode" title="g_mime_param_list_encode ()">g_mime_param_list_encode</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<a name="GMimeParam"></a><div class="refsect1">
<a name="GMimeParamList.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="other_proto_type">
<col class="other_proto_name">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GMimeParamList.html#GMimeParam-struct" title="struct GMimeParam">GMimeParam</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GMimeParamList.html#GMimeParamList-struct" title="struct GMimeParamList">GMimeParamList</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GMimeParamList.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GObject
    <span class="lineart">├──</span> GMimeParam
    <span class="lineart">╰──</span> GMimeParamList
</pre>
</div>
<div class="refsect1">
<a name="GMimeParamList.description"></a><h2>Description</h2>
<p>A <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a> is a parameter name/value pair as found on MIME
header fields such as Content-Type and Content-Disposition.</p>
</div>
<div class="refsect1">
<a name="GMimeParamList.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="g-mime-param-get-name"></a><h3>g_mime_param_get_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
g_mime_param_get_name (<em class="parameter"><code><a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a> *param</code></em>);</pre>
<p>Gets the name of the parameter.</p>
<div class="refsect3">
<a name="g-mime-param-get-name.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>param</p></td>
<td class="parameter_description"><p>a <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-mime-param-get-name.returns"></a><h4>Returns</h4>
<p> the name of the parameter.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-get-value"></a><h3>g_mime_param_get_value ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
g_mime_param_get_value (<em class="parameter"><code><a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a> *param</code></em>);</pre>
<p>Gets the value of the parameter.</p>
<div class="refsect3">
<a name="g-mime-param-get-value.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>param</p></td>
<td class="parameter_description"><p>a <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-mime-param-get-value.returns"></a><h4>Returns</h4>
<p> the value of the parameter.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-set-value"></a><h3>g_mime_param_set_value ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
g_mime_param_set_value (<em class="parameter"><code><a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a> *param</code></em>,
                        <em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre>
<p>Sets the parameter value to <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="g-mime-param-set-value.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>param</p></td>
<td class="parameter_description"><p>a <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new parameter value</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-get-charset"></a><h3>g_mime_param_get_charset ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
g_mime_param_get_charset (<em class="parameter"><code><a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a> *param</code></em>);</pre>
<p>Gets the charset used for encoding the parameter.</p>
<div class="refsect3">
<a name="g-mime-param-get-charset.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>param</p></td>
<td class="parameter_description"><p>a <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-mime-param-get-charset.returns"></a><h4>Returns</h4>
<p> the charset used for encoding the parameter.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-set-charset"></a><h3>g_mime_param_set_charset ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
g_mime_param_set_charset (<em class="parameter"><code><a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a> *param</code></em>,
                          <em class="parameter"><code>const <span class="type">char</span> *charset</code></em>);</pre>
<p>Sets the parameter charset used for encoding the value.</p>
<div class="refsect3">
<a name="g-mime-param-set-charset.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>param</p></td>
<td class="parameter_description"><p>a <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>charset</p></td>
<td class="parameter_description"><p>the charset or <code class="literal">NULL</code> to use the default</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-get-lang"></a><h3>g_mime_param_get_lang ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *
g_mime_param_get_lang (<em class="parameter"><code><a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a> *param</code></em>);</pre>
<p>Gets the language specifier used for encoding the parameter.</p>
<div class="refsect3">
<a name="g-mime-param-get-lang.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>param</p></td>
<td class="parameter_description"><p>a <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-mime-param-get-lang.returns"></a><h4>Returns</h4>
<p> the language specifier used for encoding the parameter.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-set-lang"></a><h3>g_mime_param_set_lang ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
g_mime_param_set_lang (<em class="parameter"><code><a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a> *param</code></em>,
                       <em class="parameter"><code>const <span class="type">char</span> *lang</code></em>);</pre>
<p>Sets the parameter language specifier used for encoding the value.</p>
<div class="refsect3">
<a name="g-mime-param-set-lang.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>param</p></td>
<td class="parameter_description"><p>a <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>lang</p></td>
<td class="parameter_description"><p>the language specifier</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-get-encoding-method"></a><h3>g_mime_param_get_encoding_method ()</h3>
<pre class="programlisting"><a class="link" href="gmime-GMimeFormatOptions.html#GMimeParamEncodingMethod" title="enum GMimeParamEncodingMethod"><span class="returnvalue">GMimeParamEncodingMethod</span></a>
g_mime_param_get_encoding_method (<em class="parameter"><code><a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a> *param</code></em>);</pre>
<p>Gets the encoding method used for encoding the parameter.</p>
<div class="refsect3">
<a name="g-mime-param-get-encoding-method.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>param</p></td>
<td class="parameter_description"><p>a <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-mime-param-get-encoding-method.returns"></a><h4>Returns</h4>
<p> the encoding method used for encoding the parameter.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-set-encoding-method"></a><h3>g_mime_param_set_encoding_method ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
g_mime_param_set_encoding_method (<em class="parameter"><code><a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a> *param</code></em>,
                                  <em class="parameter"><code><a class="link" href="gmime-GMimeFormatOptions.html#GMimeParamEncodingMethod" title="enum GMimeParamEncodingMethod"><span class="type">GMimeParamEncodingMethod</span></a> method</code></em>);</pre>
<p>Sets the encoding method used for encoding the value.</p>
<div class="refsect3">
<a name="g-mime-param-set-encoding-method.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>param</p></td>
<td class="parameter_description"><p>a <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>method</p></td>
<td class="parameter_description"><p>a <a class="link" href="gmime-GMimeFormatOptions.html#GMimeParamEncodingMethod" title="enum GMimeParamEncodingMethod"><span class="type">GMimeParamEncodingMethod</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-list-new"></a><h3>g_mime_param_list_new ()</h3>
<pre class="programlisting"><a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="returnvalue">GMimeParamList</span></a> *
g_mime_param_list_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Creates a new Content-Type or Content-Disposition parameter list.</p>
<div class="refsect3">
<a name="g-mime-param-list-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-list-parse"></a><h3>g_mime_param_list_parse ()</h3>
<pre class="programlisting"><a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="returnvalue">GMimeParamList</span></a> *
g_mime_param_list_parse (<em class="parameter"><code><a class="link" href="gmime-GMimeParserOptions.html#GMimeParserOptions" title="GMimeParserOptions"><span class="type">GMimeParserOptions</span></a> *options</code></em>,
                         <em class="parameter"><code>const <span class="type">char</span> *str</code></em>);</pre>
<p>Parses the input string into a parameter list.</p>
<div class="refsect3">
<a name="g-mime-param-list-parse.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>options</p></td>
<td class="parameter_description"><p>a <a class="link" href="gmime-GMimeParserOptions.html#GMimeParserOptions" title="GMimeParserOptions"><span class="type">GMimeParserOptions</span></a> or <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>str</p></td>
<td class="parameter_description"><p>a string to parse</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-mime-param-list-parse.returns"></a><h4>Returns</h4>
<p>a new <a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a>. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-list-clear"></a><h3>g_mime_param_list_clear ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
g_mime_param_list_clear (<em class="parameter"><code><a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a> *list</code></em>);</pre>
<p>Clears the list of parameters.</p>
<div class="refsect3">
<a name="g-mime-param-list-clear.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>list</p></td>
<td class="parameter_description"><p>a <a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-list-length"></a><h3>g_mime_param_list_length ()</h3>
<pre class="programlisting"><span class="returnvalue">int</span>
g_mime_param_list_length (<em class="parameter"><code><a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a> *list</code></em>);</pre>
<p>Gets the length of the list.</p>
<div class="refsect3">
<a name="g-mime-param-list-length.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>list</p></td>
<td class="parameter_description"><p>a <a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-mime-param-list-length.returns"></a><h4>Returns</h4>
<p> the number of <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a> items in the list.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-list-set-parameter"></a><h3>g_mime_param_list_set_parameter ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
g_mime_param_list_set_parameter (<em class="parameter"><code><a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a> *list</code></em>,
                                 <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
                                 <em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre>
<p>Sets the specified parameter to <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="g-mime-param-list-set-parameter.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>list</p></td>
<td class="parameter_description"><p>a <a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>The name of the parameter</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>The parameter value</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-list-get-parameter"></a><h3>g_mime_param_list_get_parameter ()</h3>
<pre class="programlisting"><a class="link" href="GMimeParamList.html#GMimeParam"><span class="returnvalue">GMimeParam</span></a> *
g_mime_param_list_get_parameter (<em class="parameter"><code><a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a> *list</code></em>,
                                 <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
<p>Gets the <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a> with the given <em class="parameter"><code>name</code></em>
.</p>
<div class="refsect3">
<a name="g-mime-param-list-get-parameter.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>list</p></td>
<td class="parameter_description"><p>list: a <a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>the name of the parameter</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-mime-param-list-get-parameter.returns"></a><h4>Returns</h4>
<p>the requested <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a>. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-list-get-parameter-at"></a><h3>g_mime_param_list_get_parameter_at ()</h3>
<pre class="programlisting"><a class="link" href="GMimeParamList.html#GMimeParam"><span class="returnvalue">GMimeParam</span></a> *
g_mime_param_list_get_parameter_at (<em class="parameter"><code><a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a> *list</code></em>,
                                    <em class="parameter"><code><span class="type">int</span> index</code></em>);</pre>
<p>Gets the <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a> at the specified <em class="parameter"><code>index</code></em>
.</p>
<div class="refsect3">
<a name="g-mime-param-list-get-parameter-at.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>list</p></td>
<td class="parameter_description"><p>a <a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>index</p></td>
<td class="parameter_description"><p>the index of the requested parameter</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-mime-param-list-get-parameter-at.returns"></a><h4>Returns</h4>
<p>the <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a> at the specified index. </p>
<p><span class="annotation">[<a href="http://foldoc.org/transfer%20none"><span class="acronym">transfer none</span></a>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-list-remove"></a><h3>g_mime_param_list_remove ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
g_mime_param_list_remove (<em class="parameter"><code><a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a> *list</code></em>,
                          <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
<p>Removes a parameter from the <a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a>.</p>
<div class="refsect3">
<a name="g-mime-param-list-remove.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>list</p></td>
<td class="parameter_description"><p>a <a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>the name of the parameter</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-mime-param-list-remove.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the specified parameter was removed or <code class="literal">FALSE</code> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-list-remove-at"></a><h3>g_mime_param_list_remove_at ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
g_mime_param_list_remove_at (<em class="parameter"><code><a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a> *list</code></em>,
                             <em class="parameter"><code><span class="type">int</span> index</code></em>);</pre>
<p>Removes a <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a> from the <a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a> at the specified index.</p>
<div class="refsect3">
<a name="g-mime-param-list-remove-at.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>list</p></td>
<td class="parameter_description"><p>a <a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>index</p></td>
<td class="parameter_description"><p>index of the param to remove</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="g-mime-param-list-remove-at.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if a <a class="link" href="GMimeParamList.html#GMimeParam"><span class="type">GMimeParam</span></a> was removed or <code class="literal">FALSE</code> otherwise.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="g-mime-param-list-encode"></a><h3>g_mime_param_list_encode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
g_mime_param_list_encode (<em class="parameter"><code><a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a> *list</code></em>,
                          <em class="parameter"><code><a class="link" href="gmime-GMimeFormatOptions.html#GMimeFormatOptions" title="GMimeFormatOptions"><span class="type">GMimeFormatOptions</span></a> *options</code></em>,
                          <em class="parameter"><code><span class="type">gboolean</span> fold</code></em>,
                          <em class="parameter"><code><span class="type">GString</span> *str</code></em>);</pre>
<p>Encodes the parameter list into <em class="parameter"><code>str</code></em>
, folding lines if required.</p>
<div class="refsect3">
<a name="g-mime-param-list-encode.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>list</p></td>
<td class="parameter_description"><p>a <a class="link" href="GMimeParamList.html" title="GMimeParamList"><span class="type">GMimeParamList</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>options</p></td>
<td class="parameter_description"><p>a <a class="link" href="gmime-GMimeFormatOptions.html#GMimeFormatOptions" title="GMimeFormatOptions"><span class="type">GMimeFormatOptions</span></a> or <code class="literal">NULL</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>fold</p></td>
<td class="parameter_description"><p><code class="literal">TRUE</code> if the parameter list should be folded; otherwise, <code class="literal">FALSE</code></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>str</p></td>
<td class="parameter_description"><p>the output string buffer</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="GMimeParamList.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GMimeParam-struct"></a><h3>struct GMimeParam</h3>
<pre class="programlisting">struct GMimeParam;</pre>
<p>A parameter name/value pair as used in the Content-Type and Content-Disposition headers.</p>
<div class="refsect3">
<a name="GMimeParam.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GMimeParamList-struct"></a><h3>struct GMimeParamList</h3>
<pre class="programlisting">struct GMimeParamList;</pre>
<p>A list of Content-Type or Content-Disposition parameters.</p>
</div>
</div>
<div class="refsect1">
<a name="GMimeParamList.see-also"></a><h2>See Also</h2>
<p><a class="link" href="GMimeContentType.html" title="GMimeContentType"><span class="type">GMimeContentType</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.32</div>
</body>
</html>